package com.fas.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class FasBuildingImage implements Serializable {

    private Integer id;//主键
    private Integer buildingId;//建筑id
    private Integer floor;//建筑楼层
    private String image;//上传的图纸地址
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date uploadDate;//上传时间

    public FasBuildingImage() {
    }

    public FasBuildingImage(Integer buildingId, Integer floor) {
        this.buildingId = buildingId;
        this.floor = floor;
    }
}
